package org.yzh.web.service.impl;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.yzh.web.mapper.VehicleMapper;
import org.yzh.web.model.entity.VehicleDO;
import org.yzh.web.service.VehicleService;

//import java.util.Base64;

@Service
public class VehicleServiceImpl implements VehicleService {

    private static final Logger log = LoggerFactory.getLogger(VehicleServiceImpl.class.getSimpleName());

    @Autowired
    private VehicleMapper vehicleMapper;

    @Override
    public VehicleDO findByDeviceCode(String deviceCode) {

        VehicleDO vehicleDO = vehicleMapper.getByDeviceCode(deviceCode);
        return vehicleDO;
    }


}